# $Id: PKGBUILD 65156 2012-02-20 05:25:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefano Esposito <ragnarok@email.it>

pkgname=emacs-php-mode
pkgver=1.5.0
pkgrel=4
license=("GPL")
pkgdesc="PHP mode for emacs"
url="http://php-mode.sf.net"
arch=('any')
depends=('emacs')
options=(docs zipman)
install=emacs-php-mode.install
source=("http://downloads.sourceforge.net/php-mode/php-mode-$pkgver.tar.gz")
md5sums=('6ddad6d150c946846a65bcecfb2cc1a0')

build() {
  cd $srcdir/php-mode-$pkgver
  make php-mode.info.gz
  install -D -m644 php-mode.el $pkgdir/usr/share/emacs/site-lisp/php-mode.el
  install -D -m644 php-mode.info.gz $pkgdir/usr/share/info/php-mode.info.gz
}
